package com.managermype.domain;

import java.io.Serializable;

import org.springframework.stereotype.Repository;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@SuppressWarnings("serial")
@XStreamAlias("Message")
@Repository
public class Message implements Serializable {
	@XStreamAlias("id")
	private String id;

	@XStreamAlias("type")
	private String type;

	@XStreamAlias("internalDescription")
	private String internalDescription;

	@XStreamAlias("externalDescription")
	private String externalDescription;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getInternalDescription() {
		return internalDescription;
	}

	public void setInternalDescription(String internalDescription) {
		this.internalDescription = internalDescription;
	}

	public String getExternalDescription() {
		return externalDescription;
	}

	public void setExternalDescription(String externalDescription) {
		this.externalDescription = externalDescription;
	}

	public String toString() {
		return "Message [id=" + id + ", type=" + type
				+ ", internalDescription=" + internalDescription
				+ ", externalDescription=" + externalDescription + "]";
	}

}
